package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Orders;
import com.itheima.common.PageParam;
import com.itheima.dto.DishDto;
import com.itheima.dto.OrdersDto;
import com.itheima.common.PageParam;
import com.itheima.dto.OrdersDto;

public interface OrderService {

    /**
     * 提交订单
     * @param order
     * @return
     */
    int add(Orders order);

    IPage<OrdersDto> findPage(PageParam pageParam);

    int update(Orders orders);
    /**
     * 查询订单
     * @param pageParam
     * @return
     */
    IPage<OrdersDto> page(PageParam pageParam);

}
